package com.fy.module.exam.mapper;

import com.fy.module.exam.entity.ExamRepo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 考试题库 Mapper 接口
 * </p>
 *
 * @author yang
 * @since 2023-03-22
 */
public interface ExamRepoMapper extends BaseMapper<ExamRepo> {

    @Select("SELECT * FROM `el_exam_repo` where exam_id = #{id}")
    List<ExamRepo> selectRepoIds(@Param("id") String id);

}
